-- GENERATED SPELL FOR [Amani Dragonhawk] --


function spell0_23834(pUnit, Event) --@Flame Breath,n/a--
pUnit:FullCastSpellOnTarget(43294,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_23834', 574, 1)
end

function Sorts_23834(pUnit, Event)
local choix_sorts_23834 = math.random(0, 0)
if choix_sorts_23834 == 0 then
pUnit:RegisterEvent('spell0_23834', 1, 1)
end
end

function mob23834_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_23834', math.random(1500, 3000), 1)
end

function mob23834_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob23834_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob23834_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(23834, 1, 'mob23834_Action')
RegisterUnitEvent(23834, 2, 'mob23834_Leave')
RegisterUnitEvent(23834, 3, 'mob23834_Kill')
RegisterUnitEvent(23834, 4, 'mob23834_Die')
